3.7.57 \(\int \frac {1}{\sqrt {2-3 \tan (c+d x)} \sqrt {\tan (c+d x)}} \, dx\) [657]

Optimal. Leaf size=89 \[ \frac {\text {ArcTan}\left (\frac {\sqrt {3-2 i} \sqrt {\tan (c+d x)}}{\sqrt {2-3 \tan (c+d x)}}\right )}{\sqrt {3-2 i} d}+\frac {\text {ArcTan}\left (\frac {\sqrt {3+2 i} \sqrt {\tan (c+d x)}}{\sqrt {2-3 \tan (c+d x)}}\right )}{\sqrt {3+2 i} d} \]

[Out]

arctan((3-2*I)^(1/2)*tan(d*x+c)^(1/2)/(2-3*tan(d*x+c))^(1/2))/d/(3-2*I)^(1/2)+arctan((3+2*I)^(1/2)*tan(d*x+c)^
(1/2)/(2-3*tan(d*x+c))^(1/2))/d/(3+2*I)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.07, antiderivative size = 89, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 4, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {3656, 926, 95, 211} \begin {gather*} \frac {\text {ArcTan}\left (\frac {\sqrt {3-2 i} \sqrt {\tan (c+d x)}}{\sqrt {2-3 \tan (c+d x)}}\right )}{\sqrt {3-2 i} d}+\frac {\text {ArcTan}\left (\frac {\sqrt {3+2 i} \sqrt {\tan (c+d x)}}{\sqrt {2-3 \tan (c+d x)}}\right )}{\sqrt {3+2 i} d} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/(Sqrt[2 - 3*Tan[c + d*x]]*Sqrt[Tan[c + d*x]]),x]

[Out]

ArcTan[(Sqrt[3 - 2*I]*Sqrt[Tan[c + d*x]])/Sqrt[2 - 3*Tan[c + d*x]]]/(Sqrt[3 - 2*I]*d) + ArcTan[(Sqrt[3 + 2*I]*
Sqrt[Tan[c + d*x]])/Sqrt[2 - 3*Tan[c + d*x]]]/(Sqrt[3 + 2*I]*d)

Rule 95

Int[(((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_))/((e_.) + (f_.)*(x_)), x_Symbol] :> With[{q = Denomin
ator[m]}, Dist[q, Subst[Int[x^(q*(m + 1) - 1)/(b*e - a*f - (d*e - c*f)*x^q), x], x, (a + b*x)^(1/q)/(c + d*x)^
(1/q)], x]] /; FreeQ[{a, b, c, d, e, f}, x] && EqQ[m + n + 1, 0] && RationalQ[n] && LtQ[-1, m, 0] && SimplerQ[
a + b*x, c + d*x]

Rule 211

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/Rt[a/b, 2]], x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 926

Int[(((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))^(n_))/((a_) + (c_.)*(x_)^2), x_Symbol] :> Int[ExpandIntegr
and[(d + e*x)^m*(f + g*x)^n, 1/(a + c*x^2), x], x] /; FreeQ[{a, c, d, e, f, g, m, n}, x] && NeQ[c*d^2 + a*e^2,
 0] &&  !IntegerQ[m] &&  !IntegerQ[n]

Rule 3656

Int[((a_.) + (b_.)*tan[(e_.) + (f_.)*(x_)])^(m_)*((c_) + (d_.)*tan[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Wit
h[{ff = FreeFactors[Tan[e + f*x], x]}, Dist[ff/f, Subst[Int[(a + b*ff*x)^m*((c + d*ff*x)^n/(1 + ff^2*x^2)), x]
, x, Tan[e + f*x]/ff], x]] /; FreeQ[{a, b, c, d, e, f, m, n}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 + b^2, 0] &&
NeQ[c^2 + d^2, 0]

Rubi steps

\begin {align*} \int \frac {1}{\sqrt {2-3 \tan (c+d x)} \sqrt {\tan (c+d x)}} \, dx &=\frac {\text {Subst}\left (\int \frac {1}{\sqrt {2-3 x} \sqrt {x} \left (1+x^2\right )} \, dx,x,\tan (c+d x)\right )}{d}\\ &=\frac {\text {Subst}\left (\int \left (\frac {i}{2 \sqrt {2-3 x} (i-x) \sqrt {x}}+\frac {i}{2 \sqrt {2-3 x} \sqrt {x} (i+x)}\right ) \, dx,x,\tan (c+d x)\right )}{d}\\ &=\frac {i \text {Subst}\left (\int \frac {1}{\sqrt {2-3 x} (i-x) \sqrt {x}} \, dx,x,\tan (c+d x)\right )}{2 d}+\frac {i \text {Subst}\left (\int \frac {1}{\sqrt {2-3 x} \sqrt {x} (i+x)} \, dx,x,\tan (c+d x)\right )}{2 d}\\ &=\frac {i \text {Subst}\left (\int \frac {1}{i-(2-3 i) x^2} \, dx,x,\frac {\sqrt {\tan (c+d x)}}{\sqrt {2-3 \tan (c+d x)}}\right )}{d}+\frac {i \text {Subst}\left (\int \frac {1}{i+(2+3 i) x^2} \, dx,x,\frac {\sqrt {\tan (c+d x)}}{\sqrt {2-3 \tan (c+d x)}}\right )}{d}\\ &=\frac {\tan ^{-1}\left (\frac {\sqrt {3-2 i} \sqrt {\tan (c+d x)}}{\sqrt {2-3 \tan (c+d x)}}\right )}{\sqrt {3-2 i} d}+\frac {\tan ^{-1}\left (\frac {\sqrt {3+2 i} \sqrt {\tan (c+d x)}}{\sqrt {2-3 \tan (c+d x)}}\right )}{\sqrt {3+2 i} d}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.18, size = 101, normalized size = 1.13 \begin {gather*} \frac {-\sqrt {3+2 i} \text {ArcTan}\left (\frac {\sqrt {\frac {3}{13}+\frac {2 i}{13}} \sqrt {2-3 \tan (c+d x)}}{\sqrt {\tan (c+d x)}}\right )+\sqrt {-3+2 i} \tanh ^{-1}\left (\frac {\sqrt {-\frac {3}{13}+\frac {2 i}{13}} \sqrt {2-3 \tan (c+d x)}}{\sqrt {\tan (c+d x)}}\right )}{\sqrt {13} d} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/(Sqrt[2 - 3*Tan[c + d*x]]*Sqrt[Tan[c + d*x]]),x]

[Out]

(-(Sqrt[3 + 2*I]*ArcTan[(Sqrt[3/13 + (2*I)/13]*Sqrt[2 - 3*Tan[c + d*x]])/Sqrt[Tan[c + d*x]]]) + Sqrt[-3 + 2*I]
*ArcTanh[(Sqrt[-3/13 + (2*I)/13]*Sqrt[2 - 3*Tan[c + d*x]])/Sqrt[Tan[c + d*x]]])/(Sqrt[13]*d)

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(434\) vs. \(2(73)=146\).
time = 0.68, size = 435, normalized size = 4.89

method result size
derivativedivides \(\frac {\sqrt {2-3 \tan \left (d x +c \right )}\, \sqrt {-\frac {\tan \left (d x +c \right ) \left (-2+3 \tan \left (d x +c \right )\right )}{\left (\sqrt {13}-3-2 \tan \left (d x +c \right )\right )^{2}}}\, \left (\sqrt {13}-3-2 \tan \left (d x +c \right )\right ) \left (3 \sqrt {13}\, \sqrt {2 \sqrt {13}+6}\, \arctanh \left (\frac {\left (\sqrt {13}+3\right ) \left (\sqrt {13}+3+2 \tan \left (d x +c \right )\right ) \left (11 \sqrt {13}-39\right ) \sqrt {13}}{52 \left (\sqrt {13}-3-2 \tan \left (d x +c \right )\right ) \sqrt {2 \sqrt {13}-6}\, \sqrt {-\frac {\tan \left (d x +c \right ) \left (-2+3 \tan \left (d x +c \right )\right )}{\left (\sqrt {13}-3-2 \tan \left (d x +c \right )\right )^{2}}}}\right ) \sqrt {2 \sqrt {13}-6}-11 \sqrt {2 \sqrt {13}+6}\, \arctanh \left (\frac {\left (\sqrt {13}+3\right ) \left (\sqrt {13}+3+2 \tan \left (d x +c \right )\right ) \left (11 \sqrt {13}-39\right ) \sqrt {13}}{52 \left (\sqrt {13}-3-2 \tan \left (d x +c \right )\right ) \sqrt {2 \sqrt {13}-6}\, \sqrt {-\frac {\tan \left (d x +c \right ) \left (-2+3 \tan \left (d x +c \right )\right )}{\left (\sqrt {13}-3-2 \tan \left (d x +c \right )\right )^{2}}}}\right ) \sqrt {2 \sqrt {13}-6}-4 \arctan \left (\frac {4 \sqrt {13}\, \sqrt {-\frac {\tan \left (d x +c \right ) \left (-2+3 \tan \left (d x +c \right )\right )}{\left (\sqrt {13}-3-2 \tan \left (d x +c \right )\right )^{2}}}}{\sqrt {26 \sqrt {13}+78}}\right ) \sqrt {13}+12 \arctan \left (\frac {4 \sqrt {13}\, \sqrt {-\frac {\tan \left (d x +c \right ) \left (-2+3 \tan \left (d x +c \right )\right )}{\left (\sqrt {13}-3-2 \tan \left (d x +c \right )\right )^{2}}}}{\sqrt {26 \sqrt {13}+78}}\right )\right )}{2 d \sqrt {\tan \left (d x +c \right )}\, \left (-2+3 \tan \left (d x +c \right )\right ) \sqrt {2 \sqrt {13}+6}\, \left (11 \sqrt {13}-39\right )}\) \(435\)
default \(\frac {\sqrt {2-3 \tan \left (d x +c \right )}\, \sqrt {-\frac {\tan \left (d x +c \right ) \left (-2+3 \tan \left (d x +c \right )\right )}{\left (\sqrt {13}-3-2 \tan \left (d x +c \right )\right )^{2}}}\, \left (\sqrt {13}-3-2 \tan \left (d x +c \right )\right ) \left (3 \sqrt {13}\, \sqrt {2 \sqrt {13}+6}\, \arctanh \left (\frac {\left (\sqrt {13}+3\right ) \left (\sqrt {13}+3+2 \tan \left (d x +c \right )\right ) \left (11 \sqrt {13}-39\right ) \sqrt {13}}{52 \left (\sqrt {13}-3-2 \tan \left (d x +c \right )\right ) \sqrt {2 \sqrt {13}-6}\, \sqrt {-\frac {\tan \left (d x +c \right ) \left (-2+3 \tan \left (d x +c \right )\right )}{\left (\sqrt {13}-3-2 \tan \left (d x +c \right )\right )^{2}}}}\right ) \sqrt {2 \sqrt {13}-6}-11 \sqrt {2 \sqrt {13}+6}\, \arctanh \left (\frac {\left (\sqrt {13}+3\right ) \left (\sqrt {13}+3+2 \tan \left (d x +c \right )\right ) \left (11 \sqrt {13}-39\right ) \sqrt {13}}{52 \left (\sqrt {13}-3-2 \tan \left (d x +c \right )\right ) \sqrt {2 \sqrt {13}-6}\, \sqrt {-\frac {\tan \left (d x +c \right ) \left (-2+3 \tan \left (d x +c \right )\right )}{\left (\sqrt {13}-3-2 \tan \left (d x +c \right )\right )^{2}}}}\right ) \sqrt {2 \sqrt {13}-6}-4 \arctan \left (\frac {4 \sqrt {13}\, \sqrt {-\frac {\tan \left (d x +c \right ) \left (-2+3 \tan \left (d x +c \right )\right )}{\left (\sqrt {13}-3-2 \tan \left (d x +c \right )\right )^{2}}}}{\sqrt {26 \sqrt {13}+78}}\right ) \sqrt {13}+12 \arctan \left (\frac {4 \sqrt {13}\, \sqrt {-\frac {\tan \left (d x +c \right ) \left (-2+3 \tan \left (d x +c \right )\right )}{\left (\sqrt {13}-3-2 \tan \left (d x +c \right )\right )^{2}}}}{\sqrt {26 \sqrt {13}+78}}\right )\right )}{2 d \sqrt {\tan \left (d x +c \right )}\, \left (-2+3 \tan \left (d x +c \right )\right ) \sqrt {2 \sqrt {13}+6}\, \left (11 \sqrt {13}-39\right )}\) \(435\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(2-3*tan(d*x+c))^(1/2)/tan(d*x+c)^(1/2),x,method=_RETURNVERBOSE)

[Out]

1/2/d*(2-3*tan(d*x+c))^(1/2)*(-tan(d*x+c)*(-2+3*tan(d*x+c))/(13^(1/2)-3-2*tan(d*x+c))^2)^(1/2)*(13^(1/2)-3-2*t
an(d*x+c))*(3*13^(1/2)*(2*13^(1/2)+6)^(1/2)*arctanh(1/52*(13^(1/2)+3)*(13^(1/2)+3+2*tan(d*x+c))*(11*13^(1/2)-3
9)/(13^(1/2)-3-2*tan(d*x+c))/(2*13^(1/2)-6)^(1/2)*13^(1/2)/(-tan(d*x+c)*(-2+3*tan(d*x+c))/(13^(1/2)-3-2*tan(d*
x+c))^2)^(1/2))*(2*13^(1/2)-6)^(1/2)-11*(2*13^(1/2)+6)^(1/2)*arctanh(1/52*(13^(1/2)+3)*(13^(1/2)+3+2*tan(d*x+c
))*(11*13^(1/2)-39)/(13^(1/2)-3-2*tan(d*x+c))/(2*13^(1/2)-6)^(1/2)*13^(1/2)/(-tan(d*x+c)*(-2+3*tan(d*x+c))/(13
^(1/2)-3-2*tan(d*x+c))^2)^(1/2))*(2*13^(1/2)-6)^(1/2)-4*arctan(4*13^(1/2)*(-tan(d*x+c)*(-2+3*tan(d*x+c))/(13^(
1/2)-3-2*tan(d*x+c))^2)^(1/2)/(26*13^(1/2)+78)^(1/2))*13^(1/2)+12*arctan(4*13^(1/2)*(-tan(d*x+c)*(-2+3*tan(d*x
+c))/(13^(1/2)-3-2*tan(d*x+c))^2)^(1/2)/(26*13^(1/2)+78)^(1/2)))/tan(d*x+c)^(1/2)/(-2+3*tan(d*x+c))/(2*13^(1/2
)+6)^(1/2)/(11*13^(1/2)-39)

________________________________________________________________________________________

Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(2-3*tan(d*x+c))^(1/2)/tan(d*x+c)^(1/2),x, algorithm="maxima")

[Out]

Exception raised: RuntimeError >> ECL says: THROW: The catch RAT-ERR is undefined.

________________________________________________________________________________________

Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(2-3*tan(d*x+c))^(1/2)/tan(d*x+c)^(1/2),x, algorithm="fricas")

[Out]

Timed out

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {2 - 3 \tan {\left (c + d x \right )}} \sqrt {\tan {\left (c + d x \right )}}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(2-3*tan(d*x+c))**(1/2)/tan(d*x+c)**(1/2),x)

[Out]

Integral(1/(sqrt(2 - 3*tan(c + d*x))*sqrt(tan(c + d*x))), x)

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 1061 vs. \(2 (65) = 130\).
time = 0.69, size = 1061, normalized size = 11.92 \begin {gather*} \text {Too large to display} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(2-3*tan(d*x+c))^(1/2)/tan(d*x+c)^(1/2),x, algorithm="giac")

[Out]

-1/105456*(2*sqrt(3)*(9/13)^(3/4)*d^2*(78*sqrt(13) + 338)^(3/2) + 156*sqrt(3)*(9/13)^(3/4)*d^2*sqrt(78*sqrt(13
) + 338)*(3*sqrt(13) - 13) - 234*sqrt(3)*(9/13)^(3/4)*d*(3*sqrt(13) + 13)*sqrt(-78*sqrt(13) + 338)*abs(d) + 3*
sqrt(3)*(9/13)^(3/4)*d*(-78*sqrt(13) + 338)^(3/2)*abs(d) - 1352*sqrt(3)*(9/13)^(1/4)*d^2*sqrt(78*sqrt(13) + 33
8) + 2028*sqrt(3)*(9/13)^(1/4)*d*sqrt(-78*sqrt(13) + 338)*abs(d))*arctan(13/18*(9/13)^(3/4)*(2*(9/13)^(1/4)*sq
rt(-3/26*sqrt(13) + 1/2) + (sqrt(3)*sqrt(tan(d*x + c)) - sqrt(2))/sqrt(-3*tan(d*x + c) + 2) - sqrt(-3*tan(d*x
+ c) + 2)/(sqrt(3)*sqrt(tan(d*x + c)) - sqrt(2)))/sqrt(3/26*sqrt(13) + 1/2))/d^3 - 1/105456*(2*sqrt(3)*(9/13)^
(3/4)*d^2*(78*sqrt(13) + 338)^(3/2) + 156*sqrt(3)*(9/13)^(3/4)*d^2*sqrt(78*sqrt(13) + 338)*(3*sqrt(13) - 13) -
 234*sqrt(3)*(9/13)^(3/4)*d*(3*sqrt(13) + 13)*sqrt(-78*sqrt(13) + 338)*abs(d) + 3*sqrt(3)*(9/13)^(3/4)*d*(-78*
sqrt(13) + 338)^(3/2)*abs(d) - 1352*sqrt(3)*(9/13)^(1/4)*d^2*sqrt(78*sqrt(13) + 338) + 2028*sqrt(3)*(9/13)^(1/
4)*d*sqrt(-78*sqrt(13) + 338)*abs(d))*arctan(-13/18*(9/13)^(3/4)*(2*(9/13)^(1/4)*sqrt(-3/26*sqrt(13) + 1/2) -
(sqrt(3)*sqrt(tan(d*x + c)) - sqrt(2))/sqrt(-3*tan(d*x + c) + 2) + sqrt(-3*tan(d*x + c) + 2)/(sqrt(3)*sqrt(tan
(d*x + c)) - sqrt(2)))/sqrt(3/26*sqrt(13) + 1/2))/d^3 - 1/210912*(156*sqrt(3)*(9/13)^(3/4)*d^2*(3*sqrt(13) + 1
3)*sqrt(-78*sqrt(13) + 338) - 2*sqrt(3)*(9/13)^(3/4)*d^2*(-78*sqrt(13) + 338)^(3/2) + 3*sqrt(3)*(9/13)^(3/4)*d
*(78*sqrt(13) + 338)^(3/2)*abs(d) + 234*sqrt(3)*(9/13)^(3/4)*d*sqrt(78*sqrt(13) + 338)*(3*sqrt(13) - 13)*abs(d
) - 1352*sqrt(3)*(9/13)^(1/4)*d^2*sqrt(-78*sqrt(13) + 338) - 2028*sqrt(3)*(9/13)^(1/4)*d*sqrt(78*sqrt(13) + 33
8)*abs(d))*log(((sqrt(3)*sqrt(tan(d*x + c)) - sqrt(2))/sqrt(-3*tan(d*x + c) + 2) - sqrt(-3*tan(d*x + c) + 2)/(
sqrt(3)*sqrt(tan(d*x + c)) - sqrt(2)))^2 + 4*(9/13)^(1/4)*sqrt(-3/26*sqrt(13) + 1/2)*((sqrt(3)*sqrt(tan(d*x +
c)) - sqrt(2))/sqrt(-3*tan(d*x + c) + 2) - sqrt(-3*tan(d*x + c) + 2)/(sqrt(3)*sqrt(tan(d*x + c)) - sqrt(2))) +
 12*sqrt(1/13))/d^3 + 1/210912*(156*sqrt(3)*(9/13)^(3/4)*d^2*(3*sqrt(13) + 13)*sqrt(-78*sqrt(13) + 338) - 2*sq
rt(3)*(9/13)^(3/4)*d^2*(-78*sqrt(13) + 338)^(3/2) + 3*sqrt(3)*(9/13)^(3/4)*d*(78*sqrt(13) + 338)^(3/2)*abs(d)
+ 234*sqrt(3)*(9/13)^(3/4)*d*sqrt(78*sqrt(13) + 338)*(3*sqrt(13) - 13)*abs(d) - 1352*sqrt(3)*(9/13)^(1/4)*d^2*
sqrt(-78*sqrt(13) + 338) - 2028*sqrt(3)*(9/13)^(1/4)*d*sqrt(78*sqrt(13) + 338)*abs(d))*log(((sqrt(3)*sqrt(tan(
d*x + c)) - sqrt(2))/sqrt(-3*tan(d*x + c) + 2) - sqrt(-3*tan(d*x + c) + 2)/(sqrt(3)*sqrt(tan(d*x + c)) - sqrt(
2)))^2 - 4*(9/13)^(1/4)*sqrt(-3/26*sqrt(13) + 1/2)*((sqrt(3)*sqrt(tan(d*x + c)) - sqrt(2))/sqrt(-3*tan(d*x + c
) + 2) - sqrt(-3*tan(d*x + c) + 2)/(sqrt(3)*sqrt(tan(d*x + c)) - sqrt(2))) + 12*sqrt(1/13))/d^3

________________________________________________________________________________________

Mupad [B]
time = 6.33, size = 205, normalized size = 2.30 \begin {gather*} \mathrm {atan}\left (\frac {\sqrt {2}\,d\,\sqrt {\mathrm {tan}\left (c+d\,x\right )}\,\sqrt {\frac {-\frac {3}{52}-\frac {1}{26}{}\mathrm {i}}{d^2}}\,\left (4+6{}\mathrm {i}\right )+d\,\sqrt {\mathrm {tan}\left (c+d\,x\right )}\,\sqrt {\frac {-\frac {3}{52}-\frac {1}{26}{}\mathrm {i}}{d^2}}\,\sqrt {2-3\,\mathrm {tan}\left (c+d\,x\right )}\,\left (-4-6{}\mathrm {i}\right )}{3\,\mathrm {tan}\left (c+d\,x\right )+\sqrt {2}\,\sqrt {2-3\,\mathrm {tan}\left (c+d\,x\right )}-2}\right )\,\sqrt {\frac {-\frac {3}{52}-\frac {1}{26}{}\mathrm {i}}{d^2}}\,2{}\mathrm {i}-\mathrm {atan}\left (\frac {\sqrt {2}\,d\,\sqrt {\mathrm {tan}\left (c+d\,x\right )}\,\sqrt {\frac {-\frac {3}{52}+\frac {1}{26}{}\mathrm {i}}{d^2}}\,\left (4-6{}\mathrm {i}\right )+d\,\sqrt {\mathrm {tan}\left (c+d\,x\right )}\,\sqrt {\frac {-\frac {3}{52}+\frac {1}{26}{}\mathrm {i}}{d^2}}\,\sqrt {2-3\,\mathrm {tan}\left (c+d\,x\right )}\,\left (-4+6{}\mathrm {i}\right )}{3\,\mathrm {tan}\left (c+d\,x\right )+\sqrt {2}\,\sqrt {2-3\,\mathrm {tan}\left (c+d\,x\right )}-2}\right )\,\sqrt {\frac {-\frac {3}{52}+\frac {1}{26}{}\mathrm {i}}{d^2}}\,2{}\mathrm {i} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(tan(c + d*x)^(1/2)*(2 - 3*tan(c + d*x))^(1/2)),x)

[Out]

atan((2^(1/2)*d*tan(c + d*x)^(1/2)*((- 3/52 - 1i/26)/d^2)^(1/2)*(4 + 6i) - d*tan(c + d*x)^(1/2)*((- 3/52 - 1i/
26)/d^2)^(1/2)*(2 - 3*tan(c + d*x))^(1/2)*(4 + 6i))/(3*tan(c + d*x) + 2^(1/2)*(2 - 3*tan(c + d*x))^(1/2) - 2))
*((- 3/52 - 1i/26)/d^2)^(1/2)*2i - atan((2^(1/2)*d*tan(c + d*x)^(1/2)*((- 3/52 + 1i/26)/d^2)^(1/2)*(4 - 6i) -
d*tan(c + d*x)^(1/2)*((- 3/52 + 1i/26)/d^2)^(1/2)*(2 - 3*tan(c + d*x))^(1/2)*(4 - 6i))/(3*tan(c + d*x) + 2^(1/
2)*(2 - 3*tan(c + d*x))^(1/2) - 2))*((- 3/52 + 1i/26)/d^2)^(1/2)*2i

________________________________________________________________________________________